package foo;

public class CustomColor {
	private final String	color;

	public CustomColor() {
		this("Red");
	}

	public CustomColor(String aColor) {
		color = aColor;
	}

	public String getColor() {
		return color;
	}

	@Override
	public int hashCode() {
		return 1;
	}

	@Override
	public boolean equals(Object obj) {
		CustomColor anotherColor = (CustomColor) obj;
		return this.getColor().equals(anotherColor.getColor());
	}

}
